export const memberRoute = [
  {
    path: '/member',
    component: () => import('@/pages/member/views/layout/index.vue'),
    meta: { title: '佰茵云-个人中心' },
    redirect: '/member/index',
    children: [
      {
        path: '/member/index',
        component: () => import('@/pages/member/views/index/index.vue'),
        meta: { title: '佰茵云-个人中心' },
      },
      {
        path: '/member/blacklist',
        component: () => import('@/pages/member/views/blacklist/index.vue'),
        meta: { title: '佰茵云-黑名单' },
      },
      {
        path: '/member/cloud',
        component: () => import('@/pages/member/views/cloud/index.vue'),
        meta: { title: '佰茵云-网盘' },
      },
      {
        path: '/member/application',
        component: () => import('@/pages/member/views/application/index.vue'),
        meta: { title: '佰茵云-应用' },
      },
      {
        path: '/application/create',
        component: () => import('@/pages/member/views/application/create.vue'),
        meta: { title: '佰茵云-创建应用' },
      },
      {
        path: '/application/list',
        component: () => import('@/pages/member/views/application/list.vue'),
        meta: { title: '佰茵云-应用任务' },
      },
      {
        path: '/application/cloud',
        component: () => import('@/pages/member/views/application/cloud.vue'),
        meta: { title: '佰茵云-上传文件' },
      },
      {
        path: '/member/flowapp',
        component: () => import('@/pages/member/views/flowapp/index.vue'),
        meta: { title: '佰茵云-流程应用' },
      },
      {
        path: '/flowapp/subindex',
        component: () => import('@/pages/member/views/flowapp/subindex.vue'),
        meta: { title: '佰茵云-流程应用管理' },
      },
      {
        path: '/flowapp/create',
        component: () => import('@/pages/member/views/flowapp/create.vue'),
        meta: { title: '佰茵云-创建流程应用' },
      },
      {
        path: '/flowapp/subcreate',
        component: () => import('@/pages/member/views/flowapp/subcreate.vue'),
        meta: { title: '佰茵云-创建子流程应用' },
      },
      {
        path: '/flowapp/list',
        component: () => import('@/pages/member/views/flowapp/list.vue'),
        meta: { title: '佰茵云-流程应用任务' },
      },
      {
        path: '/flowapp/cloud',
        component: () => import('@/pages/member/views/flowapp/cloud.vue'),
        meta: { title: '佰茵云-流程上传文件' },
      },
      {
        path: '/letter',
        component: () => import('@/pages/member/views/letter/index.vue'),
        meta: { title: '佰茵云-私信' },
      },
      {
        path: '/editor',
        component: () => import('@/pages/member/views/editor/index.vue'),
        meta: { title: '佰茵云-编辑' },
      },

      {
        path: 'database',
        component: () => import('@/pages/member/views/database/index.vue'),
        meta: { title: '佰茵云-数据库' },
      },
      {
        path: 'database/template/list',
        component: () =>
          import('@/pages/member/views/database/template/list.vue'),
        meta: { title: '佰茵云-模板管理' },
      },
      {
        path: 'database/list',
        component: () => import('@/pages/member/views/database/list.vue'),
        meta: { title: '佰茵云-数据库管理' },
      },
      {
        path: 'database/article',
        component: () =>
          import('@/pages/member/views/database/article/list.vue'),
        meta: { title: '佰茵云-文章管理' },
      },
      {
        path: 'topic/list',
        component: () => import('@/pages/member/views/topic/list.vue'),
        meta: { title: '佰茵云-课题组主页管理' },
      },
      //商城相关
      {
        path: 'mall/shopindex',
        component: () => import('@/pages/member/views/mall/shop/index.vue'),
        meta: { title: '佰茵云-商户商品管理' },
      },
      {
        path: 'mall/shopedit',
        component: () => import('@/pages/member/views/mall/shop/editshop.vue'),
        meta: { title: '佰茵云-商品新增编辑' },
      },
      {
        path: 'mall/commentInfo',
        component: () => import('@/pages/member/views/mall/shop/commentInfo.vue'),
        meta: { title: '佰茵云-评论管理' },
      },
      {
        path: 'mall/ordercenter',
        component: () => import('@/pages/member/views/mall/shop/ordercenter.vue'),
        meta: { title: '佰茵云-订单中心' },
      },
    ],
  },
]
